body {
    margin: 0;
    /* overflow: hidden; */
    background-color: #F2F4F7;
}

.canvas-editor {
    width: 794px;
    height: 1123px;
    background-color: #ffffff;
    cursor: text;
    box-shadow: #9ea1a566 0 2px 12px;
    margin: auto;
    position: relative;
}

.editor-cursor {
    animation: cursor 1s ease infinite;
}

@keyframes cursor {
    from {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.editor-tools {
    display: flex;
    align-items: center;
    height: 60px;
    justify-content: center;
}

.tool-btn {
    cursor: pointer;
    position: relative;
    margin: 0 5px;
}

.tool-btn:hover {
    background-color: rgba(25, 55, 88, 0.04);
}

.tool-btn.active {
    background-color: rgba(25, 55, 88, 0.08);
}

.tool-btn img {
    user-select: none;
    -webkit-user-drag: none;
    display: block;
}

.tool-font-color {
    overflow: hidden;
}

.tool-font-color input {
    position: absolute;
    top: 0;
    opacity: 0;
    cursor: pointer;
}

.tool-btn-select {
    width: 120px;
    display: flex;
}

.tool-btn-select select {
    flex: 1;
    background-color: transparent;
    outline: none;
    border: 1px solid #aaa;
    height: 26px;
    border-radius: 3px;
    text-align: center;
    color: #555;
}
